<%@ page session="false" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%>
<f:view>
	<trh:head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="shortcut icon" href="gfx/studiografic.ico" type="image/ico" />
		<link href="style/style.css" rel="stylesheet" type="text/css" media="screen" />
		<title>Rejestrator StudioGrafic&trade; - przekazanie zamówienia</title>
	</trh:head>
	<trh:body inlineStyle="background-color:#fff;">
		<tr:form>
			<fieldset><legend>Przekazanie</legend>
			<table width="100%" cellpadding="3" cellspacing="0">
				<tr>
					<td>
					<tr:selectOneChoice value="#{PassingParameter.salesman}" label="Odpowiedzialna:"
							shortDesc="Wybierz osobę odpowiedzialną za to zamówienie"
							showRequired="true" required="true">
						<f:selectItem itemLabel="---- brak ----" itemValue="#{null}" />
						<f:selectItems value="#{salesmanController.salesmanItems}" />
					</tr:selectOneChoice>
					</td>
				</tr>
				<tr>
					<td>
						<tr:inputText value="#{PassingParameter.comment}" rows="5" label="Komentarz:"
									maximumLength="3024" showRequired="true"
									columns="80" required="true" />
					</td>
				</tr>
				<tr>
					<td align="right">
					<tr:commandButton action="#{orderController.preparePassingData}"
									text="Zapisz i zamknij" id="passButton"
									inlineStyle="color:white;background-color:green" />
					</td>
				</tr>
			</table>
			</fieldset>
		</tr:form>
	</trh:body>
</f:view>
